package com.acegear.horizon.domain.services;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * Created by wangsike on 2017/3/14.
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class WbSSOResponse {

    private String access_token;
    private String expires_in;
    private String uid;
    private Integer error_code;
    private String error;

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public String getExpires_in() {
        return expires_in;
    }

    public void setExpires_in(String expires_in) {
        this.expires_in = expires_in;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public Integer getError_code() {
        return error_code;
    }

    public void setError_code(Integer error_code) {
        this.error_code = error_code;
    }

    public String getError() {
        return error;
    }

    public boolean isError() {
        return error_code != null;
    }

    public void setError(String error) {
        this.error = error;
    }
}
